package CreationMode.methodFactory.coffee;

/**
 * 具体工厂
 */
public class FactoryDicos implements Factory{

    @Override
    public Coffee createLatteCoffee() {
        System.out.println("德克士工厂制作咖啡");
        return new CoffeeLatte();
    }

    @Override
    public Coffee createAmericanoCoff() {
        System.out.println("德克士工厂制作咖啡");
        return new CoffeeAmericano();
    }
}
